﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace mvc3App.DataStore.Entities
{
    public class OneDrink
    {
        public OneDrink() { }

        public OneDrink(OneDrinkEntity onedrinkEntity, BeverageEntity beverageEntity)
        {
            Beverage = new Beverage(onedrinkEntity.DrinkName, beverageEntity.AlcoholPercent);
            Amount = onedrinkEntity.Amount;
            Time = onedrinkEntity.Time;
        }

        public Beverage Beverage { get; set; }
        public int Amount { get; set; }
        public DateTime Time { get; set; }
    }    
}